package com.qishi.exampleOne.jdkProxy;

import com.qishi.exampleOne.ForumService;

public class ForumServiceImpl2 implements ForumService {

    public void removeTopic(int topicld) {


        System.out.println("模拟删除Topic记录:"+topicld);

        try {
            Thread.currentThread().sleep(20);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

    }

    public void removeForum(int forumld) {

        System.out.println("模拟删除Forum记录:"+forumld);
        try {
            Thread.currentThread().sleep(40);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }

    }
}
